package com.pengtu.entity.project.labs;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.pengtu.entity.IdEntity;

/**
 * Detectlabcontract.
 */
@Entity
@Table(name = "T_PROJ_DETECTCONTRACT")
public class Detectcontract extends IdEntity {

	/**
	 * serialVersionUID:TODO
	 * 
	 * @since 1.0.0
	 */

	private static final long serialVersionUID = 1L;
	private String projectId;
	private String signid;
	private String orgId;//母体检测机构及法人机构名称id
	private String partid;
	private String contractorder;//实验室名称
	private String contractnum;//实验室编号
	private String address;//工地试验室工地试验室详细地址
	private String phone;
	private String fax;
	private String postcode;
	private String email;
	private Long inspector;//持试验检测人员证书
	private Long engineer;//持试验检测工程师证书人数
	private Long senior;//相关专业高级职称人数
	private Double floor;//试验检测用房总面积（m2）
	private String scope;//工地试验室授权业务范围
	private Date begindate;
	private Date enddate;
	private String remark;

	public Detectcontract() {
	}

	@Column(name = "PROJECTID", length = 48)
	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	@Column(name = "SIGNID", length = 48)
	public String getSignid() {
		return this.signid;
	}

	public void setSignid(String signid) {
		this.signid = signid;
	}

	@Column(name = "ORGID", length = 48)
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	@Column(name = "PARTID", length = 48)
	public String getPartid() {
		return this.partid;
	}

	public void setPartid(String partid) {
		this.partid = partid;
	}

	@Column(name = "CONTRACTORDER", length = 100)
	public String getContractorder() {
		return this.contractorder;
	}

	public void setContractorder(String contractorder) {
		this.contractorder = contractorder;
	}

	@Column(name = "CONTRACTNUM", length = 30)
	public String getContractnum() {
		return this.contractnum;
	}

	public void setContractnum(String contractnum) {
		this.contractnum = contractnum;
	}

	@Column(name = "ADDRESS", length = 30)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "PHONE", length = 30)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "FAX", length = 30)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "POSTCODE", length = 30)
	public String getPostcode() {
		return this.postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	@Column(name = "EMAIL", length = 100)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "INSPECTOR", precision = 18, scale = 0)
	public Long getInspector() {
		return this.inspector;
	}

	public void setInspector(Long inspector) {
		this.inspector = inspector;
	}

	@Column(name = "ENGINEER", precision = 18, scale = 0)
	public Long getEngineer() {
		return this.engineer;
	}

	public void setEngineer(Long engineer) {
		this.engineer = engineer;
	}

	@Column(name = "SENIOR", precision = 18, scale = 0)
	public Long getSenior() {
		return this.senior;
	}

	public void setSenior(Long senior) {
		this.senior = senior;
	}

	@Column(name = "FLOOR", precision = 18, scale = 3)
	public Double getFloor() {
		return this.floor;
	}

	public void setFloor(Double floor) {
		this.floor = floor;
	}

	@Column(name = "SCOPE", length = 1000)
	public String getScope() {
		return this.scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "BEGINDATE", length = 7)
	public Date getBegindate() {
		return this.begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "ENDDATE", length = 7)
	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	@Column(name = "REMARK", length = 400)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
